package cn.itsource.pet.service;

import cn.itsource.basic.domain.AjaxResult;
import cn.itsource.basic.util.PageList;
import cn.itsource.pet.domain.Pet;
import cn.itsource.pet.domain.PetDTO;
import cn.itsource.pet.domain.SearchMasterMessageQuery;
import cn.itsource.pet.domain.StateIdsDto;

import java.util.List;

public interface PetService {
    PageList pagelist(SearchMasterMessageQuery query);

    AjaxResult save(PetDTO petDTO);

    AjaxResult upbutton(StateIdsDto stateIdsDto);

    AjaxResult deleteBatch(List<Long> ids);

    AjaxResult shenghe(Pet pet);

    PageList findAll(SearchMasterMessageQuery query);

    Pet findOne(Long id);
}
